Optimal. Leaf size=144 \[ \frac{(e x)^{m+1} \left (1-e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )^{-p} \sin ^p\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \text{Hypergeometric2F1}\left (-p,-\frac{b d n p+i m+i}{2 b d n},\frac{1}{2} \left (-\frac{i (m+1)}{b d n}-p+2\right ),e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )}{e (-i b d n p+m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.122529, antiderivative size = 144, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {4493, 4491, 364} \[ \frac{(e x)^{m+1} \left (1-e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )^{-p} \, _2F_1\left (-p,-\frac{i m+b d n p+i}{2 b d n};\frac{1}{2} \left (-\frac{i (m+1)}{b d n}-p+2\right );e^{2 i a d} \left (c x^n\right )^{2 i b d}\right ) \sin ^p\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e (-i b d n p+m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4493
Rule 4491
Rule 364
Rubi steps
\begin{align*} \int (e x)^m \sin ^p\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx &=\frac{\left ((e x)^{1+m} \left (c x^n\right )^{-\frac{1+m}{n}}\right ) \operatorname{Subst}\left (\int x^{-1+\frac{1+m}{n}} \sin ^p(d (a+b \log (x))) \, dx,x,c x^n\right )}{e n}\\ &=\frac{\left ((e x)^{1+m} \left (c x^n\right )^{-\frac{1+m}{n}+i b d p} \left (1-e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )^{-p} \sin ^p\left (d \left (a+b \log \left (c x^n\right )\right )\right )\right ) \operatorname{Subst}\left (\int x^{-1+\frac{1+m}{n}-i b d p} \left (1-e^{2 i a d} x^{2 i b d}\right )^p \, dx,x,c x^n\right )}{e n}\\ &=\frac{(e x)^{1+m} \left (1-e^{2 i a d} \left (c x^n\right )^{2 i b d}\right )^{-p} \, _2F_1\left (-p,-\frac{i+i m+b d n p}{2 b d n};\frac{1}{2} \left (2-\frac{i (1+m)}{b d n}-p\right );e^{2 i a d} \left (c x^n\right )^{2 i b d}\right ) \sin ^p\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{e (1+m-i b d n p)}\\ \end{align*}
Mathematica [A] time = 0.932089, size = 122, normalized size = 0.85 \[ -\frac{x (e x)^m \left (-1+e^{2 i d \left (a+b \log \left (c x^n\right )\right )}\right ) \sin ^p\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \text{Hypergeometric2F1}\left (1,\frac{1}{2} \left (-\frac{i (m+1)}{b d n}+p+2\right ),-\frac{i (m+1)}{2 b d n}-\frac{p}{2}+1,e^{2 i d \left (a+b \log \left (c x^n\right )\right )}\right )}{-i b d n p+m+1} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.283, size = 0, normalized size = 0. \begin{align*} \int \left ( ex \right ) ^{m} \left ( \sin \left ( d \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \right ) \right ) ^{p}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e x\right )^{m} \sin \left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )^{p}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\left (e x\right )^{m} \sin \left (b d \log \left (c x^{n}\right ) + a d\right )^{p}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]